# $Id: PKGBUILD 143909 2011-11-30 20:28:47Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir.archlinux.org>

pkgname=muparser
pkgver=1.34
pkgrel=2
pkgdesc="A fast math parser library"
arch=('i686' 'x86_64')
url="http://muparser.sourceforge.net/"
depends=('gcc-libs')
license=('custom')
options=('!makeflags')
source=("http://downloads.sourceforge.net/$pkgname/${pkgname}_v134.tar.gz")
md5sums=('0c4f4bf86aa2a5a737adc0e08cb77737')

build() {
  cd $srcdir/${pkgname}_v134
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/${pkgname}_v134
  make DESTDIR=$pkgdir install

  # license
  install -D -m644 License.txt \
	$pkgdir/usr/share/licenses/${pkgname}/LICENSE
}
